package com.ten.jinxiancun.server.impl;

import com.ten.jinxiancun.mapper.PurchasestorageMapper;
import com.ten.jinxiancun.server.PurchasestorageServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
//入库表接口
@Service
public class PurchasestorageServerImpl implements PurchasestorageServer {
    @Autowired
    PurchasestorageMapper purage;

    @Override
    public List<Map<String, Object>> getAllpurage(Map<String, Object> map) {
        return purage.getAllpurage(map);
    }

    @Override
    public Integer countFind(Map<String, Object> map) {
        return purage.count(map);
    }
}
